{template "topic_header"}
{template "topic_left_nav.inc"}
<link href="static/style/qun.css" rel="stylesheet" type="text/css" />
<div class="main"> 
  <div class="mainWrap ">	
      <div id="listTopicArea">
		<!--{if $view=='index'}-->
			<!--{loop $all_list $value}-->
			<div class="qun_block qun_block2">
				<div class="title">$value['title']({$value['row_nums']})
                   <span class="mright"><a href="index.php?mod=qun&code=profile&view={$value['code']}">查看全部</a></span>
                </div>
				<!--{if $value['row_nums'] > 0}-->
				<div class="content">
					<ul class="qun_list">
						<!--{loop $value['list'] $data}-->
						<li>
							<div class="rbl"><a href="index.php?mod=qun&qid={$data['qid']}" title="{$data['name']}"><img src="{$data['icon']}" /></a></div>
							<div class="rbr"><a href="index.php?mod=qun&qid={$data['qid']}" title="{$data['name']}"><b>{$data['name']}</b></a><br />成员{$data['member_num']}人</div>
						</li>
						<!--{/loop}-->
					</ul>
					<ul class="cl"></ul>
				</div>
				<!--{/if}-->
			</div>
			<!--{/loop}-->
		<!--{else}-->
			<div class="qun_block qun_block2">
				<div class="title">{$title}({$qun_list['row_nums']})</div>
				<!--{if $qun_list['row_nums'] > 0}-->
				<div class="content">
					<ul class="qun_list">
						<!--{loop $qun_list['list'] $value}-->
						<li>
							<div class="rbl"><a href="index.php?mod=qun&qid={$value['qid']}" title="{$value['name']}"><img src="{$value['icon']}" /></a></div>
							<div class="rbr"><a href="index.php?mod=qun&qid={$value['qid']}" title="{$value['name']}"><b>{$value['name']}</b></a><br />成员{$value['member_num']}人</div>
						</li>
						<!--{/loop}-->
					</ul>
					<ul class="cl"></ul>
				</div>
				<div id="page_wp">{$multi}</div>
				<!--{/if}-->
			</div>
		<!--{/if}-->
		</div>
      </div>

{subtemplate qun/qun_right}


<!--{if $this->Config[ad_enable]}-->
<div class="banner_ad"> {$this->Config[ad][ad_list][qun][footer]} </div>
<!--{/if}-->
{template "topic_footer"}